from gensim.models import Word2Vec

# 加载模型
model = Word2Vec.load("word2vec.model")

# 查询词的词向量
vector = model.wv['通淋']
print("Vector for '清热':", vector)

# 查找相似词
similar_words = model.wv.most_similar('清热', topn=20)
print("Most similar words to '清热':", similar_words)
